from django.urls import path
from . import views
from . import new_views
app_name = 'blog'
urlpatterns = [
    path('', views.index, name='index'),
    path('posts/<int:pk>/', views.detail, name='detail'),
    path('archives/', views.archive, name='archive'),
    path('categories/<name>', views.category, name='category'),
    path('tags/<name>', views.tag, name='tag'),
    path('friendlink/', views.friend, name='friend'),
    path('logout/', views.logout_user, name='logout_user'),
    path('login/', views.login_page, name='login_page'),
    path('login_user/', views.login_user, name='login_user'),
    path('regis_user/', views.register_user, name='register_user'),
    path('about/', views.about_me, name='about_me'),
    path('post_info/', views.post_info, name='post_info'),
    path('post_cd/', views.post_cd, name='post_cd'),
    path('post_all/', views.post_all, name='post_all'),
    path('cat_page/', views.cat_page, name='cat_page'),
    path('color_board/', views.color_board, name='color_board'),
    path('color_board/detail/<int:pk>/', views.color_detail, name='color_detail'),
    path('chk_s', views.check_style, name='chk_s'),
    path('chg_s', views.chang_style, name='chg_s'),
    path('get_daily_news_list', views.get_daily_news_list, name='get_daily_news_list'),
    path('news_like/<int:pk>/', views.news_like, name='news_like'),
    path('resumes/<name>', new_views.resumes, name='resumes'),
    path('upload_img/', new_views.upload_img, name='upload_img'),
    path('get_img/', new_views.get_img, name='get_img')
]
